﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="ServiceModify.aspx.cs" Inherits="StudentAppointmentPlatform.ServiceModify" %>
<asp:Content ID="Content1" ContentPlaceHolderID="HeadContent" runat="server">
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <asp:ScriptManager runat="server"></asp:ScriptManager>
    <asp:UpdatePanel runat="server">
        <ContentTemplate>
            <h2>添加新服务项</h2>
            <div class="info">
                <fieldset class="addService">
                    <legend>服务项信息</legend>
                    <p>
                        <asp:Label runat="server" AssociatedControlID="tbDirectorName">负责人:</asp:Label>
                        <asp:TextBox ID="tbDirectorName" runat="server" CssClass="textEntry" Enabled="False"></asp:TextBox>
                    </p>
                    <p>
                        <asp:Label runat="server" AssociatedControlID="tbServiceName">服务名称:</asp:Label>
                        <asp:TextBox ID="tbServiceName" runat="server" CssClass="textEntry"></asp:TextBox>
                    </p>
                    <p>
                        <asp:Label runat="server" AssociatedControlID="tbIntroduction">服务简介:</asp:Label>
                        <asp:TextBox ID="tbIntroduction" runat="server" CssClass="textEntry" TextMode="MultiLine" Rows="3"></asp:TextBox>
                    </p>
                    <p>
                        <asp:Label runat="server" AssociatedControlID="tbTimeBuckets">可预约的时间:</asp:Label>
                        <asp:TextBox ID="tbTimeBuckets" runat="server" CssClass="textEntry" ToolTip="（24小时制，填写形式——7-11.5,13-17）" Enabled="False"></asp:TextBox>
                    </p>
                    <p>
                        <asp:Label runat="server" AssociatedControlID="tbPerMultiTime">每个时间分段的大小（单位：小时）:</asp:Label>
                        <asp:TextBox ID="tbPerMultiTime" runat="server" CssClass="textEntry" ToolTip="精确到0.5" Enabled="False"></asp:TextBox>
                    </p>
                    <p>
                        <asp:Label runat="server" AssociatedControlID="tbMultiNum">每个时间分段允许的预约人数（单位：人次）:</asp:Label>
                        <asp:TextBox ID="tbMultiNum" runat="server" CssClass="textEntry" ToolTip="至少为1，若觉得太密集，请调整时间分段大小"></asp:TextBox>
                    </p>
                    <p>
                        <asp:Label runat="server" AssociatedControlID="rbActive">服务状态:</asp:Label>
                        <asp:RadioButton runat="server" ID="rbActive" Text="启用" TextAlign="Left" CssClass="aspRB_Type" GroupName="type" />
                        <asp:RadioButton runat="server" ID="rbInactive" Text="停用" TextAlign="Left" CssClass="aspRB_Type" GroupName="type" />
                    </p>
                </fieldset>
                <p class="submitButton">
                    <asp:Button ID="btnCreateService" runat="server" Text="确认修改" OnClick="btnCreateService_OnClick"/>
                    <asp:Button ID="btnBack" runat="server" Text="返回" OnClick="btnBack_OnClick"/>
                </p>
            </div>
        </ContentTemplate>        
    </asp:UpdatePanel>
</asp:Content>

<asp:Content ID="Content3" ContentPlaceHolderID="FooterContent" runat="server">
</asp:Content>
